Hi,
I have a C# Dll to perform windows operations like importing project data, showing in tree view and sub catogories and soon..i can see its classes and its method names in workspace using .NET assembly Matlab syntax, but how can i use those methods and call them to do those specific operations from matlab?
Please help me with accessing C# Dll in Matlab.
Thanks.
Accessing C# native Dlls in Matlab
279818-Mar-2015
Updated on 18-Mar-2015
Sumit Kesarwani
18-Mar-2015Hi Mahesh,
One way to make this work is to use COM. You can implement a COM object using .NET, and MatLab can work with COM objects (e.g. seehttp://www.mathworks.co.uk/help/matlab/matlab_external/exploring-your-object.html).
If your managed C# DLL is not yet exposed to COM, you may have to write a little wrapper (depending on whether or not you have access to the source code).